/**********************************************************/
/* Goblin Defense - A tower defense game for Wii Homebrew */
/* Copyright (C) 2009 Ricardo Bueno Cordeiro              */
/* Licensed under de GNU General Public License v2.0      */
/*   See license_gplv2.txt for detalis                    */
/**********************************************************/

#ifndef __AREA_ITEM_H_
#define __AREA_ITEM_H_

#include <gccore.h>

#include "map_item.h"

class AreaItem : public MapItem {
public:
	virtual f32 get_x() = 0;
	virtual f32 get_y() = 0;
	virtual f32 get_radius() = 0;
	virtual u32 get_priority() = 0;

	static int near(AreaItem *a1, AreaItem *a2);
	static int higher_priority(AreaItem *a1, AreaItem *a2);
};

#endif
